import request from '@/utils/request'

// 版本列表
export function listPage() {
  return request({
    url: '/mVersion/listPage',
    method: 'get'
  })
}
// 版本新增
export function VersionAdd(data) {
  return request({
    url: '/mVersion/VersionAdd',
    method: 'post',
    data: data
  })
}

// 版本修改
export function VersionUpdate(data) {
  return request({
    url: '/mVersion/VersionUpdate',
    method: 'post',
    data: data
  })
}

// 更改状态
export function VersionStatus(data) {
  return request({
    url: '/mVersion/VersionStatus',
    method: 'post',
    data: data
  })
}

// 版本查看
export function VersionSee(query) {
  return request({
    url: '/mVersion/VersionSee',
    method: 'get',
    params: query
  })
}

// 版本删除
export function remove(query) {
  return request({
    url: '/mVersion/remove',
    method: 'get',
    params: query
  })
}

// H5版本列表
export function mH5VersionList() {
  return request({
    url: '/mH5Version/list',
    method: 'get'
  })
}

// H5版本查看
export function h5VersionSee(query) {
  return request({
    url: '/mH5Version/h5VersionSee',
    method: 'get',
    params: query
  })
}

// H5版本修改
export function h5VersionUpdate(data) {
  return request({
    url: '/mH5Version/h5VersionUpdate',
    method: 'post',
    data: data
  })
}

// H5版本删除
export function removeH5(query) {
  return request({
    url: '/mH5Version/removeH5',
    method: 'get',
    params: query
  })
}



